public class D04
{
    public static void main(String[] args) {
        int a = 100;
        long b = a;
        float c = b;
        System.out.println(c);


        double x = 3.14159;
        int y = (int) x;
        byte z = (byte) 130;
        System.out.println("y = " + y);
        System.out.println("z = " + z);



        short s1 = 10;
        short s2 = 20;
        short s3 = ( short) (s1 + s2);
        System.out.println(s3);
    }
}
